# 找出列表中最大数字

def _max(list):
    if len(list) == 2:
        one = list[0]
        two = list[1]
        if one > two:
            return one
        else:
            return two
    else:
        max_num = _max(list[1:])  # 下一个列表
        _one = list[0]
        return _one if _one > max_num else max_num


a = [1, 2, 34, 5, 557, 58658, 797, 0, 3, 234235, 46, 5, 7,
     65, 8, 7, 6, 45, 53, 4, 23, 42, 35, 6, 45, 76, 5, 765]
b = _max(a)
print(b)  # 234235
